Skip to main content

All Questions

-1votes
2answers
2kviews

Configuration of a staging environment vs production environment

For our software development process we used to set up 3 environments : integration , QA and master. Recently it was decided to add a new staging environment that shall mirror the production ...
Youssef's user avatar
0votes
2answers
152views

How to generate frontend URLs in a "12 factor app" service?

I'm working on a system with a user-facing frontend and with 1-n backend services which I'm trying to design according to the principles of the Twelve-Factor App. I'm now facing the task of sending ...
Kirill Rakhman's user avatar
0votes
1answer
148views

Dynamic Configuration vs. Custom Service

I have been designing an email alert system for my customers which allows them to choose what alerts they receive. AlertManager seems suitable, except for it's static configuration file; A customer ...
liamdiprose's user avatar
0votes
1answer
156views

How can I keep a web application easy to self host while still breaking it up in to multiple smaller components

I am working on an open source web application that I will be hosting on my own server and I estimate most users will use that but I also want to easily allow users to run the application themself. ...
Qwertie's user avatar
3votes
2answers
122views

Environment configuration vs domain detection

We are developing an angular 5 application that must run in different environments (dev, qa, int, uat, prod), and connect to different APIs depending on the environment. We have traditionally have ...
Jorge Riv's user avatar
2votes
2answers
499views

CORS handling in application or infrastructure?

What are the cons and the pro for handling CORS in infrastructure or application ? I mean is it better to setup CORS on my nginx/apache/tomcat ? or to handle it by coding in my application ? I have ...
mik3fly-4steri5k's user avatar
4votes
1answer
600views

Deciding what values should be configurable

My application is a Java program that controls a robot (which is essentially a raspberry pi hooked up to a lot of devices). There are many devices on the robot that have semi constant address values ...
flakes's user avatar
54votes
7answers
57kviews

What is the preferred way to store application configurations?

Most of the time, I store development application config in root directory of the project, like this: app |-- config.json But that doesn't seem to be the best approach, since this config ends up ...
Rogach's user avatar
1vote
1answer
80views

Grouping classes by subject or dependencies?

Our project consists of user application and server application. The server application prepares data files that the user application consumes. Because the data is huge, it is stored in custom format. ...
Jan Hudec's user avatar

close